package heman.server.controllerchain;

import heman.server.controllers.TableChatController;
import ks.framework.common.Message;
import ks.framework.communicator.Communicator;
import ks.server.controllers.ServerControllerChain;

/**
 * add TableChatController
 * @author Yanyi Zhang
 *
 */

public class TableChatControllerChain extends ServerControllerChain {
	@Override
	public boolean process(Communicator com, Message m) {
		if(m.getName().equals("tableChat")) {
			return new TableChatController().process(com, m);
		}
		return next(com,m);
	}
}
